package com.chuangke.sms.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value="sms_message")
public class SMSModel {

	private String id;
	private String userId ;
	private String telphone;
	private String message;
	private String request;
	private String params ;
	private String reponse;
	private long time ;
	@TableField(fill = FieldFill.INSERT) private Date createdAt;
	@TableField(fill = FieldFill.INSERT) private String createdBy;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public String getReponse() {
		return reponse;
	}

	public void setReponse(String reponse) {
		this.reponse = reponse;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "SMSModel [id=" + id + ", userId=" + userId + ", telphone=" + telphone + ", message=" + message
				+ ", request=" + request + ", requestParams=" + params + ", reponse=" + reponse + "]";
	}

}
